package com.bole.dao;

import com.bole.pojo.TbArticleType;
import org.springframework.data.repository.Repository;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public interface ArticleTypeDao extends Repository<TbArticleType,Integer> {

    TbArticleType findById(Integer id);

    List<TbArticleType> findAll();

    void save(TbArticleType tbArticleType);


}

